テスト
<a href="/">戻る</a>

<?php use_helper("Validation")?>
<form action="/reply/confirm" method="post">

内容<?php echo form_error("content")?><br>
<textarea name="content" cols="60" rows="10">
<?php echo nl2br($content)?>
</textarea><br>


名前<?php echo form_error("nickname")?><br>
<input type="text" name="nickname" size="20" value="<?php echo $nickname?>"><br>
<input type="hidden" name="comment_id" value="<?php echo $comment->getId()?>">
<input type="submit" value="確認する">
</form>


<hr>
下記投稿に返信
<div class="commentBox">
<?php echo $comment->getCreatedAt()?>
｜カテゴリ：<?php echo ($comment->getCategoryId())?$categorys[$comment->getCategoryID()]:"なし";?>
<br>

<?php if($comment->getUrl()):?>
<a href="<?php echo $comment->getUrl()?>">
<?php echo $comment->getNickname()?>
</a>
<?php else:?>
<?php echo $comment->getNickname()?>
<?php endif;?>
さんの投稿<br>

<?php echo nl2br($comment->getContent())?>
<br>
</div>

<?php foreach($comment->getReplys() as $reply):?>
<div class="replyBox">
<?php echo $comment->getCreatedAt()?><br>
<?php echo $reply->getNickname()?>さんの返信<br>
<?php echo $reply->getContent()?><br>
<br>
</div>

<?php endforeach;?>
